#pragma once
#include<iostream>
using namespace std;
class Stack
{
public:
	void Init(int n = 4);
	void Push(int x);
	int  Top();

private:
	int* _array;
	size_t _top;
	size_t _capacity;
};